package cn.tedu.zhwy.information.mapper;

import cn.tedu.zhwy.information.pojo.dto.BuildingQuery;
import cn.tedu.zhwy.information.pojo.entity.Building;
import cn.tedu.zhwy.information.pojo.vo.BuildingVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuildingMapper {
    void insert(Building building);

    List<BuildingVO> select(BuildingQuery buildingQuery);

    void delete(Long bid);

    void update(Building building);
}
